package org.jeecg.modules.complain.service;
import org.jeecg.modules.complain.entity.Complain;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.complain.entity.ComplainStatus;
import org.jeecg.modules.complain.vo.ComplainReport;
import org.jeecg.modules.system.entity.SysDepart;
import org.jeecg.modules.system.entity.SysPosition;
import org.jeecg.modules.system.entity.SysUser;

import java.util.List;

/**
 * @Description: 投诉管理
 * @Author: jeecg-boot
 * @Date:   2019-08-30
 * @Version: V1.0
 */
public interface IComplainService extends IService<Complain> {

    public List<SysPosition> listById(String projectId);
    List<Complain> selectDetailByUser(String userId,Integer status);
    public List<SysUser> listPostion(String id);
    Integer updateStatus(ComplainStatus complainStatus);
    SysDepart selectDepart(String userId);
   String selectPosition(String userId);

    ComplainReport getComplainReport(String projectId);
}
